<template>
  <div>
    <h1>我是App跟组件</h1>
    <el-button type="primary" size="default" @click="">elButton</el-button>
    <SvgIcon name="aircraft" color="red" width="30px" height="30px"></SvgIcon>
  </div>
</template>

<script setup lang="ts">
import { onMounted } from "vue";
import { reqlogin } from "./api/user";
onMounted(async () => {
  const result = await reqlogin({
    username: "admin",
    password: "111111",
  });
  console.log(result);
});
</script>

<style scoped lang="scss">
div {
  h1 {
    color: $color;
  }
}
</style>
